import java.util.Scanner;

public class ifDemo01 {
    public static void main(String[] args) {
      //判读一个数是否是奇数；
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入你要判断的数字");
        int i=scanner.nextInt();
        if (i%2==0){
            System.out.println("是偶数");
        }else {
            System.out.println("是奇数");
        }
    }
}
